.row {
    height: 800px;
    background-color: #EEE;
    margin: 30px auto 0;
    border-radius: 10px;
    display: flex;
    flex-wrap: nowrap;
    box-shadow: 0 0 20px black;
    overflow: hidden;
}
#navbar {
    width: 80px;
    background-color: #EEE;
    border-radius: 10px 0 0 10px;
    padding: 10px;
    position: relative;
}
#navbar-morebar {
    position: absolute;
    display: flex;
    width: 120px;
    height: 0;
    bottom: 80px;
    z-index: 1;
    background-color: #DDD;
    transition-property: all;
    transition-duration: 0.2s;
    border-radius: 10px;
    overflow: hidden;
}
#navbar-more-items {
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
}
.navbar-more-item-first {
    cursor: pointer;
}
.navbar-more-item {
    cursor: pointer;
    margin-top: 15px;
}
.icon-navbar {
    display: block;
    font-size: 35px;
    margin: 30px auto 0;
    text-align: center;
    cursor: pointer;
}
#navbar-more {
    display: block;
    font-size: 35px;
    text-align: center;
    margin-top: 340px;
    cursor: pointer;
}
#middle-bar {
    padding: 0;
    width: 280px;
    background-color: white;
    border-right: 1px solid #DDD;
    transition-duration: 0.2s;
    transition-property: all;
    overflow: hidden;
}
.search-bar {
    padding: 15px;
    width: 100%;
    height: 70px;
}
.middle-list-item {
    border: 0;
    padding: 5px;
    transition-duration: 0.2s;
    cursor: pointer;
}
.middle-list-item:hover {
    background-color: #EEE;
}
.middle-user-head {
    width: 50px;
    height: 50px;
    display: inline-block;
    /*border: 1px solid #f5f5f5;*/
    padding: 3px;
    border-radius: 8px;
    vertical-align: top;
}
.middle-message {
    display: inline-block;
    margin-left: 5px;
}
.middle-petname {
    display: inline-block;
    width: 140px;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.middle-chat-time {
    font-size: 12px;
    color: #AFAFAF;
    vertical-align: top;
    display: inline-block;
}
.middle-chat-content {
    font-size: 13px;
    color: #AFAFAF;
    display: inline-block;
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#middle-list {
    height: 730px;
    overflow-x: auto;
}
#chat-bar {
    flex: auto;
    border-radius: 0 10px 10px 0;
    background-color: #EEE;
    padding: 0;
    display: none;
}
#head {
    height: 70px;
    padding: 20px;
    font-size: 18px;
    border-bottom: 1px solid #DDD;
    position: relative;
}
#chat-view {
    width: 100%;
    height: 500px;
    background-color: #EEEEEE;
    border-bottom: 1px solid #DDDDDD;
    padding: 0;
    overflow-x: auto;
    transition-property: all;
    transition-duration: 0.2s;
}
.chat-message  {
    display: flex;
    padding: 10px;
    position: relative;
}
.card {
    display: inline-block;
    box-shadow: 0 0 1px black;
    margin-left: 10px;
    max-width: 50%;
}
.card-body {
    width: 100%;
    white-space: pre-wrap;
    font-size: 16px;
    margin: 0;
}
.card-body {
    padding: 10px;
}
.my {
    justify-content: end;
    /*flex-direction: column-reverse;*/
}
.my .card-body {
    background-color: #a9ea7a;
}
.my .card {
    background-color: #a9ea7a;
    margin-right: 10px;
}
#chat-box {
    width: 100%;
    height: 230px;
    background-color: #EEE;
    border-top: 1px solid #DDDDDD;
}
textarea {
    resize: none;
    background-color: #EEE;
}
#tools-bar {
    width: 100%;
    height: 40px;
    padding-left: 20px;
    padding-top: 5px;
    position: relative;
    display: flex;
    justify-content: space-between;
}
.icon-weixiao {
    font-size: 25px;
}
#emojy {
    position: absolute;
    height: 0;
    width: 0;
    background-color: #DDDDDD;
    border-radius: 10px;
    z-index: 1;
    bottom: 30px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    overflow-x: auto;
    transition-property: all;
    transition-duration: 0.2s;
}
#chat-input {
    width: 100%;
    height: 180px;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
}
.input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    overflow-x: auto;
    display: flex;
}
.emojy-item {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 25px;
    margin: 8px 5px 5px;
    cursor: pointer;
}
.emojy-input {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 25px;
    margin: 2px;
}
.message-time {
    font-size: 12px;
    margin: 0 auto;
    text-align: center;
    color: #AFAFAF;
}
.user-head-icon {
    width: 60px;
    height: 60px;
    margin: 50px auto 0;
    display: block;
    cursor: pointer;
    border-radius: 8px;
}
#head-bar {
    position: absolute;
    width: 0;
    height: 150px;
    top: 60px;
    left: 80px;
    background-color: #EEE;
    z-index: 2;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    color: #666;
    transition-property: all;
    transition-duration: 0.2s;
    overflow: hidden;
}
.user-message {
    display: inline-block;
    margin-left: 40px;
}
#selectHeadImage {
    display: none;
}
.sender {
    margin-top: 17px;
}
#senderPetName {
    position: absolute;
    font-size: 12px;
    color: #AFAFAF;
    left: 70px;
    top: 10px;
}
#flexible {
    display: inline-block;
    font-size: 20px;
    transition-duration: 0.2s;
    transition-property: all;
    cursor: pointer;
}
.opai-head {
    font-size: 30px;
    padding: 3px;
    border-radius: 8px;
    vertical-align: center;
}
.response-card {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    border: 0;
    border-radius: 10px;
    background-color: #c2e5ff;
}
.response {
    width: 100%;
    outline: none;
    border: 0;
    border-radius: 10px;
    max-height: 100%;
    overflow: hidden;
    background-color: #c2e5ff;
}
#banner {
    width: 300px;
    height: 450px;
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translate(-50%, -10%);
    background-color: white;
    z-index: 3;
    border-radius: 10px;
    box-shadow: 0 0 5px black;
    display: none;
}
.close {
    margin-left: 5px;
    cursor: pointer;
}
#user-info {
    height: 280px;
    background-color: #EEE;
    border-radius: 10px;
    overflow: hidden;
    display: none;
}
#search-user-head {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin: 20px auto 0;
}
#search-user-petName {
    display: block;
    margin-top: 20px;
    margin-left: 70px;
    width: 230px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#search-user-username {
    display: block;
    margin-top: 5px;
    margin-left: 70px;
}
#search-user-userId {
    display: block;
    margin-top: 5px;
    margin-left: 70px;
}
#addFriendButton {
    display: block;
    height: 40px;
    width: 100%;
    margin: 20px auto 0;
    background-color: #AFAFAF;
    border: 0;
    border-radius: 5px;
}
#tip {
    display: none;
}
.system-message {
    height: 50px;
    border-radius: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    transition-duration: 0.2s;
    transition-property: all;
    margin-bottom: 5px;
}
.system-message:hover {
    background-color: #EEEEEE;
}
.agree {
    display: inline-block;
}
.refuse {
    display: inline-block;
    margin-left: 30px;
}
.system-message-content {
    width: 320px;
    display: inline-block;
    vertical-align: middle;
}
#chat-bar-head-more {
    font-size: 20px;
    position: absolute;
    right: 30px;
    cursor: pointer;
}
#nomalMenu {
    position: absolute;
    width: 120px;
    height: 0;
    right: 20px;
    z-index: 3;
    background-color: #DDD;
    transition-property: all;
    transition-duration: 0.2s;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
}
#groupMenu {
    position: absolute;
    width: 130px;
    height: 0;
    right: 20px;
    z-index: 3;
    background-color: #DDD;
    transition-property: all;
    transition-duration: 0.2s;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
}
.menubar {
    width: 64px;
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
}
.menu-item-first {
    margin: 0 auto;
    font-size: 16px;
    cursor: pointer;
}
.menu-item {
    font-size: 16px;
    margin: 10px auto 0;
    cursor: pointer;
}
#groupId {
    font-size: 12px;
    color: #AFAFAF;
}
#inputGroupName {
    width: 300px;
    height: 100px;
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translate(-50%, -20%);
    background-color: white;
    z-index: 3;
    border-radius: 10px;
    box-shadow: 0 0 5px black;
    display: none;
}
#clearLocalStorage {
    position: absolute;
    right: 30px;
    padding: 3px 8px;
    font-size: 16px;
    display: none;
    top: 20px;
}
#aiTip {
    font-size: 12px;
    color: #AFAFAF;
    display: none;
}


pre code.hljs {
    display: block;
    overflow-x: auto;
    padding: 1em
}

code.hljs {
    padding: 3px 5px
}

/*!
Theme: GitHub Dark
Description: Dark theme as seen on github.com
Author: github.com
Maintainer: @Hirse
Updated: 2021-05-15
Outdated base version: https://github.com/primer/github-syntax-dark
Current colors taken from GitHub's CSS
*/
.hljs {
    color: #c9d1d9;
    background: #0d1117
}

.hljs-doctag,
.hljs-keyword,
.hljs-meta .hljs-keyword,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-variable.language_ {
    /* prettylights-syntax-keyword */
    color: #ff7b72
}

.hljs-title,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-title.function_ {
    /* prettylights-syntax-entity */
    color: #d2a8ff
}

.hljs-attr,
.hljs-attribute,
.hljs-literal,
.hljs-meta,
.hljs-number,
.hljs-operator,
.hljs-variable,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-id {
    /* prettylights-syntax-constant */
    color: #79c0ff
}

.hljs-regexp,
.hljs-string,
.hljs-meta .hljs-string {
    /* prettylights-syntax-string */
    color: #a5d6ff
}

.hljs-built_in,
.hljs-symbol {
    /* prettylights-syntax-variable */
    color: #ffa657
}

.hljs-comment,
.hljs-code,
.hljs-formula {
    /* prettylights-syntax-comment */
    color: #8b949e
}

.hljs-name,
.hljs-quote,
.hljs-selector-tag,
.hljs-selector-pseudo {
    /* prettylights-syntax-entity-tag */
    color: #7ee787
}

.hljs-subst {
    /* prettylights-syntax-storage-modifier-import */
    color: #c9d1d9
}

.hljs-section {
    /* prettylights-syntax-markup-heading */
    color: #1f6feb;
    font-weight: bold
}

.hljs-bullet {
    /* prettylights-syntax-markup-list */
    color: #f2cc60
}

.hljs-emphasis {
    /* prettylights-syntax-markup-italic */
    color: #c9d1d9;
    font-style: italic
}

.hljs-strong {
    /* prettylights-syntax-markup-bold */
    color: #c9d1d9;
    font-weight: bold
}

.hljs-addition {
    /* prettylights-syntax-markup-inserted */
    color: #aff5b4;
    background-color: #033a16
}

.hljs-deletion {
    /* prettylights-syntax-markup-deleted */
    color: #ffdcd7;
    background-color: #67060c
}

.hljs-char.escape_,
.hljs-link,
.hljs-params,
.hljs-property,
.hljs-punctuation,
.hljs-tag {
    /* purposely ignored */
}